﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OA.DBUtility;
using OA.Model;

namespace OA.Manager
{
    public class ProjectPhaseMappingManager : ManagerParent<ProjectPhaseMappingInfo>
    {
        private SqlService<ProjectPhaseMappingInfo> _sqlService = null;
        public ProjectPhaseMappingManager()
        {
            _sqlService = new SqlService<ProjectPhaseMappingInfo>();
        }

        public bool DeleteAll()
        {
            int count = _sqlService.ExecuteNonQuery("DELETE [ProjectPhaseMapping]");
            return count > 0;
        }
    }
}
